package com.project.platform.service;

import java.util.List;
import java.util.Map;

import com.project.platform.entity.Elder;
import com.project.platform.vo.PageVO;


public interface ElderService extends CommonService<Elder> {

    PageVO<Elder> page(Map<String, Object> query, Integer pageNum, Integer pageSize);

    Elder selectById(Integer id);

    List<Elder> list();

    void insert(Elder entity);

    void updateById(Elder entity);

    void removeByIds(List<Integer> id);

    Elder selectByFamilyId(Integer id);

    List<Elder> selectByBuildingId(Integer id);

    void bindFamily(Elder entity);
}
